package com.huike.review.mapper;

import com.huike.review.pojo.Review;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface MybatisReviewMapper {


    int saveData(@Param("name") String name,@Param("age") String age,@Param("sex") String sex);


    int saveDataByPojo(Review data);


    Integer removeData(@Param("id")Long id);


    int updateData(Review review);

    Review getById(@Param("id") Long id);

    List<Review> getDataByPage();
}